﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReportMacNewNG.aspx.cs" Inherits="IHISCETeim.Web.AgentSys.SvrMgr.ReportMacNewNG" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>月份市场机器故障次数统计
</title>
    <style type="text/css">
        html, body, div, span, applet, object, iframe,
        h1, h2, h3, h4, h5, h6, p, blockquote, pre,
        a, abbr, acronym, address, big, cite, code,
        del, dfn, em, font, img, ins, kbd, q, s, samp,
        small, strike, strong, sub, sup, tt, var,
        dl, dt, dd, ol, ul, li,
        fieldset, form, label, legend,
        table, caption, tbody, tfoot, thead, tr, th, td { padding:0; margin:0; font-size:12px; line-height:100%; font-family:Arial, sans-serif;}
        table{}
        .table{ border:1px solid #000; border-collapse:collapse;cursor:pointer;}
        .table th{ text-align:center; line-height:25px;border:1px solid #000; background-color:#F7F3F7;}
        .table td{ text-align:left; line-height:16px;border:1px solid #000; padding:2px;}
        .table tr.AlItemTr td{ background: none repeat scroll 0 0 #EFEFEF;}
        .table tr.SiItemTr{}
        .table tr.selectTr{background: none repeat scroll 0 0 #F78618;}
        .table tr.mouseoverTr{background: none repeat scroll 0 0 #FFCF6B;}       
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
        <f:Panel ID="Panel1" runat="server" BodyPadding="2px"  ShowBorder="false" Layout="VBox" BoxConfigAlign="Stretch" BoxConfigPosition="Start" ShowHeader="false" AutoScroll="true">
            <Items>
                <f:Form ID="Form2" runat="server" Height="36px" BodyPadding="2px 1px" ShowHeader="false" ShowBorder="true" LabelAlign="Right" >
                    <Rows>
                        <f:FormRow ID="FormRow1" runat="server">
                            <Items>
                               <f:DatePicker runat="server" ID="FromDate" Label="开始日期"  Required="true" ShowRedStar="true"></f:DatePicker>
                               <f:DatePicker runat="server" ID="ToDate" Label="结束日期"  Required="true" ShowRedStar="true"></f:DatePicker>                               
                               <f:Button ID="btnSearch" ValidateForms="Form2" Icon="SystemSearch" runat="server" Text="确定" EnableAjax="false" OnClick="btnSearch_Click"></f:Button>
                            </Items>                            
                        </f:FormRow>
                    </Rows>
                </f:Form>                
                <f:Panel ID="Panel2" runat="server" BodyPadding="2px"  ShowBorder="true"  ShowHeader="false" >
                    <Content>                        
                        <div class="container" style="height:300px;width:100% ">
                            
                        </div>
                        <div style="width:100%">
                            <table class="highchart table" style="width:100%" data-graph-container=".container" data-graph-type="column" data-graph-xaxis-rotation="20" data-graph-yaxis-1-title-text="次数" >
                                <caption style="display:none;">新机入库检查品质统计表</caption>
                                <thead>
                                   <th>检查项</th>
                                   <th>发生次数</th>                                   
                                </thead>
                                <tbody>
                                   <%=GetTableTbody() %>
                                </tbody>
                            </table>
                            
                        </div>
                    </Content>
                </f:Panel>
            </Items>
        </f:Panel>
    </form>
    <script type="text/javascript" src="../res/js/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="../res/js/highcharts_4.03.js"></script>
    <script type="text/javascript" src="../res/js/jquery.highchartTable.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $("table.highchart").highchartTable();
        });
        function onshowdetail(tempid)
        {
            //alert(tempid)
        }
    </script>
</body>
</html>
